package com.app.service;

/*
  @author 阿伟
  @create 2020-11-23:15:03
  聊一聊接口
*/


import com.app.condition.ConsultCondition;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.Consult;
import com.common.entity.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

public interface ConsultService extends IService<Consult> {

    //条件查询
    void selectConsultByLimit(Page<Consult> page, ConsultCondition consultCondition);

    //添加聊一聊
    ResponseResult addConsult(MultipartFile img, String text, String userId);

    //获取所有反馈
    ResponseResult getAllConsult();
}
